//
//  TaskManagerScreenView.h
//  LogisticsSupplier
//
//  Created by 吕晶 on 2021/3/19.
//  Copyright © 2021 吕晶. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TaskManagerSearchModel.h"
@class TaskManagerScreenViewCell;

NS_ASSUME_NONNULL_BEGIN

typedef void(^TaskManagerScreenViewBlock)(TaskManagerSearchModel *model);

@interface TaskManagerScreenView : UIView

@property (nonatomic, strong) TaskManagerSearchModel *model;
@property (nonatomic, copy) dispatch_block_t dismissBlock;
@property (nonatomic, copy) TaskManagerScreenViewBlock finishBlock;

- (void)showInView:(UIView *)view;
- (void)disMissView;

@end

typedef void(^TaskManagerScreenViewCellNOBlock)(NSString *str);
typedef void(^TaskManagerScreenViewCellChuFaBlock)(NSString *str);
typedef void(^TaskManagerScreenViewCellMuDiBlock)(NSString *str);
typedef void(^TaskManagerScreenViewCellLaiYuanBlock)(NSString *str);
//typedef void(^MyTransportOrderScreenCellChengYunBlock)(NSString *str);
typedef void(^TaskManagerScreenViewCellPieceMinBlock)(NSString *str);
typedef void(^TaskManagerScreenViewCellPieceMaxBlock)(NSString *str);
typedef void(^TaskManagerScreenViewCellWeightMinBlock)(NSString *str);
typedef void(^TaskManagerScreenViewCellWeightMaxBlock)(NSString *str);
typedef void(^TaskManagerScreenViewCellVolumeMinBlock)(NSString *str);
typedef void(^TaskManagerScreenViewCellVolumeMaxBlock)(NSString *str);

@interface TaskManagerScreenViewCell : UITableViewCell

+ (instancetype)TaskManagerScreenViewCellWithTableView:(UITableView *)tableView;

@property (nonatomic, strong) TaskManagerSearchModel *model;
@property (nonatomic, assign) CGFloat height;

@property (nonatomic, copy) TaskManagerScreenViewCellNOBlock danHaoBlock;
@property (nonatomic, copy) TaskManagerScreenViewCellChuFaBlock chuFaBlock;
@property (nonatomic, copy) TaskManagerScreenViewCellMuDiBlock muDiBlock;
@property (nonatomic, copy) TaskManagerScreenViewCellLaiYuanBlock laiYuanBlock;
@property (nonatomic, copy) dispatch_block_t cheLiangBlock;
@property (nonatomic, copy) TaskManagerScreenViewCellPieceMinBlock pieceMinBlock;
@property (nonatomic, copy) TaskManagerScreenViewCellPieceMaxBlock pieceMaxBlock;
@property (nonatomic, copy) TaskManagerScreenViewCellWeightMinBlock weightMinBlock;
@property (nonatomic, copy) TaskManagerScreenViewCellWeightMaxBlock weightMaxBlock;
@property (nonatomic, copy) TaskManagerScreenViewCellVolumeMinBlock volumeMinBlock;
@property (nonatomic, copy) TaskManagerScreenViewCellVolumeMaxBlock volumeMaxBlock;
@property (nonatomic, copy) dispatch_block_t beginBlock;
@property (nonatomic, copy) dispatch_block_t endBlock;

@end


NS_ASSUME_NONNULL_END
